<!doctype html>
<html>
  <head>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src='https://www.googletagmanager.com/gtag/js?id=UA-132775238-1'></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'UA-132775238-1');
    </script>
    <meta charset='utf-8'>
    <meta name='viewport' content='width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes'>
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600&family=Roboto+Mono&display=swap" rel="stylesheet">
    <script type='text/javascript' src='../rapidoc-min.js'></script>

    <link href='../index.css' rel='stylesheet'>
  </head>
  <body>
    <rapi-doc id = "thedoc"
      spec-url="../specs/parameters.yaml" 
      allow-authentication = "false" 
      show-info = "false"
      show-header = "false"
      render-style = "read"
      sort-endpoints-by = "summary"
      default-schema-tab = "example"
      allow-try = "true" 
      regular-font = 'Open Sans'
      mono-font = "Roboto Mono"
    > 
    <div slot="nav-logo">
      <div slot="nav-logo" style="width:100%; display: flex; flex-direction:column;">
        <div style="text-align: center; padding: 20px 0 12px 0; color:#47AFE8"> Allow TRY</div>
        <div style="display: flex;justify-content: center; margin: 2px 0">
          <button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('allow-try', 'true')" >Yes</button>
          <button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('allow-try', 'false')" >No</button>
        </div>
      </div>
    </div>
  </rapi-doc>
  </body>
</html>